package com.productssite.dao;

import java.util.List;

import com.productssite.model.Product;

public interface ProductDao {

	public void save(Product transientInstance);

	public void delete(Product persistentInstance);

	public Product findById(java.lang.Integer id);

	public List<Product> findByExample(Product instance);

	public List<Product> findByName(Object name);

	public List<Product> findAll();

	public void update (Product detachedInstance);

}